package cn.kgc.shiro02.service;

import cn.kgc.shiro02.commons.ResponseResult;
import cn.kgc.shiro02.dto.UserFormDTO;
import cn.kgc.shiro02.dto.UserPageDTO;
import cn.kgc.shiro02.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 *
 */
public interface UserService extends IService<User> {

    ResponseResult selectPage(UserPageDTO userPageDTO);

    ResponseResult saveUser(UserFormDTO userFormDTO);

    ResponseResult selectById(Integer id);

    ResponseResult updateUser(UserFormDTO userFormDTO);

    ResponseResult deleteMore(Integer[] ids);

    Map<String, Object> loadMenu(String username);
}
